import { get_month_first, get_month_last } from '@/const/crud/rca/common.js'
export const startDate = get_month_first(-1);
export const endDate = get_month_last(-1);
export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  menu:false,
  searchLabelWidth:100,
  printBtn:true,
  "column": [
	  {
      "type": "input",
      "label": "ID",
      "prop": "id",
      hide:true,
      display:false,
    },	  {
      "type": "date",
      "label": "结算开始时间",
      "prop": "accountStartTime",
      search:true,
      searchValue: startDate,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
    },	  {
      "type": "date",
      "label": "结算结束时间",
      "prop": "accountEndTime",
      search:true,
      searchValue: endDate,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
    },	  {
      "type": "select",
      "label": "操作类型",
      "prop": "handleType",
      dicUrl:"/admin/dict/type/st_tk_financial_reconciliation_type",
      search:true,
    },	  {
      "type": "number",
      "label": "结算金额",
      "prop": "accountMoney",
	  precision: 2
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide:true,
      display:false,
    }  ]
}
